package com.zxzhu.joyread.Presenter;

import android.content.Intent;
import android.support.design.widget.NavigationView;

import com.avos.avoscloud.AVUser;
import com.zxzhu.joyread.Model.IMainModel;
import com.zxzhu.joyread.Model.MainModel;
import com.zxzhu.joyread.View.StartView;
import com.zxzhu.joyread.View.IMainView;
import com.zxzhu.joyread.View.LoginView;
import com.zxzhu.joyread.View.MainView;

/**
 * Created by zxzhu on 2017/7/20.
 */

public class MainPresenter implements IMainPresenter {
    private NavigationView navigationView;

    private IMainModel mainModel;
    private IMainView mainView;

    public MainPresenter(MainView mainView){
        this.mainView = mainView;
        this.mainModel = new MainModel();
    }

    @Override
    public void setText() {
        mainView.setData();
    }

}